<?

/*  
 * Las variables relacionadas con facebook tienen prefijo fb_
 * Las variables relacionadas con google calendar tienten prefijo gc_
 */

require_once  'facebook/php/facebook.php';


set_include_path(get_include_path() . PATH_SEPARATOR . 'ZendGdata-1.9.5/library' );

require_once 'Zend/Loader.php';
Zend_Loader::loadClass('Zend_Gdata');
Zend_Loader::loadClass('Zend_Gdata_AuthSub');
Zend_Loader::loadClass('Zend_Gdata_ClientLogin');
Zend_Loader::loadClass('Zend_Gdata_Calendar');

require_once 'authsubproxy.php';
require_once 'users.php'; 
require_once 'gmt.php';


$gc_path = 'ZendGdata-1.9.5/library';
$gc_auth = new authsubproxy();

$fb_appkey = '7bafa50316d70407fe560a7624721eae';
$fb_appsecret = 'ad00876148cb8fe1d84a5510ad0b85c8';
$facebook = new Facebook($fb_appkey, $fb_appsecret);
$fb_user_id = $facebook->require_login();

$user = new users();

?>


